﻿<%@ Page Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeBehind="Default.aspx.cs"
    Inherits="GiaPhuc._Default" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">

    <script src="/Scripts/lib.min.js" type="text/javascript"></script>

    <script src="/Scripts/screenshot.min.js" type="text/javascript"></script>

    <script src="/Scripts/script_jcarousellite.js" type="text/javascript"></script>

</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <div id="header">
        <center>
        <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="740" height="320"
            id="tech">
            <param name="movie" value="pinduphong.swf?xml_path=slides.xml" />
            <param name="quality" value="high" />
            <param name="wmode" value="opaque" />
            <param name="swfversion" value="6.0.65.0" />
            <object type="application/x-shockwave-flash" data="pinduphong.swf?xml_path=slides.xml"
                width="740" height="320">
                <param name="quality" value="high" />
                <param name="wmode" value="opaque" />
                <param name="swfversion" value="6.0.65.0" />
            </object>
        </object></center>
        <%--<div class="wrap">
            <div id="slide-holder">
                <div id="slide-runner">
                    <a href="<%="/Default.aspx?CategoryID=1".ContextualURL("Pin du phong") %>">
                        <img id="slideImage1" src="/Images/banner1.jpg" class="slide" alt="pin iphone, phu kien iphone, phu kien ipad, bao da ipad, pin du phong, bluetooth" /></a>
                    <a href="<%="/Default.aspx?CategoryID=2".ContextualURL("Bluetooth keyboard") %>">
                        <img id="slideImage2" src="/Images/banner2.jpg" class="slide" alt="pin iphone, phu kien iphone, phu kien ipad, bao da ipad, pin du phong, bluetooth" /></a>
                    <a href="<%="/Default.aspx?CategoryID=3".ContextualURL("Tai nghe bluetooth") %>">
                        <img id="slideImage3" src="/Images/banner3.jpg" class="slide" alt="pin iphone, phu kien iphone, phu kien ipad, bao da ipad, pin du phong, bluetooth" /></a>
                    <div id="slide-controls">
                        <p id="slide-nav">
                        </p>
                    </div>
                </div>
                <!--content featured gallery here -->
            </div>

            <script type="text/javascript">
                if (!window.slider) var slider = {}; slider.data = [{ "id": "slideImage1", "client": "pin dự phòng", "desc": "Pin Dự Phòng" }, { "id": "slideImage2", "client": "keyboard bluetooth", "desc": "Keyboard Bluetooth" }, { "id": "slideImage3", "client": "bao da ipad", "desc": "Bao da Ipad"}]; //, { "id": "slideImage4", "client": "bao da ipad", "desc": "Bao da Ipad" }, { "id": "slideImage5", "client": "bao da ipad", "desc": "Bao da Ipad" }, { "id": "slideImage6", "client": "bao da ipad", "desc": "Bao da Ipad"}];
            </script>

        </div>--%>
    </div>
    <div id="newproducts">
        <!-- The New Products -->
        <asp:Repeater ID="rptNewProducts" runat="server">
            <HeaderTemplate>
                <div class="product-header">
                    <img src='/Images/mainmenuhover.gif' alt="phu kien ipad" />
                    <div>
                        PHỤ KIỆN MỚI</div>
                </div>
                <div class="carousel main1">
                    <a href="#" class="prev">&nbsp;</a>
                    <div class="jCarouselLite">
                        <ul>
            </HeaderTemplate>
            <ItemTemplate>
                <li>
                    <div class="product-cell1">
                        <div class="product-image">
                            <div class="overImg">
                                <a href="<%#DataBinder.Eval(Container.DataItem, "Url")%>" class="screenshot" rel="<%#DataBinder.Eval(Container.DataItem, "ImagePath")%>">
                                </a>
                            </div>
                            <img src="<%#DataBinder.Eval(Container.DataItem, "ImagePath")%>" alt="phu kien ipad" />
                        </div>
                        <div class="clear">
                            <div>
                                <span class="price1">
                                    <%#DataBinder.Eval(Container.DataItem, "Price", "{0:n0}")%>
                                    VND</span>
                            </div>
                        </div>
                    </div>
                </li>
            </ItemTemplate>
            <FooterTemplate>
                </ul> </div> <a href="#" class="next">&nbsp;</a>
                <div class="clear">
                </div>
                </div>
            </FooterTemplate>
        </asp:Repeater>
    </div>
    <%--<div id="specialproducts">
        <!-- The Special Products -->
        <asp:Repeater ID="rptSpecialProducts" runat="server">
            <HeaderTemplate>
                <div class="carousel main2">
                    <a href="#" class="prev">&nbsp</a>
                    <div class="jCarouselLite">
                        <ul>
            </HeaderTemplate>
            <ItemTemplate>
                <li>
                    <div class="product-cell">
                        <div class="product-image">
                            <div class="overImg <%#DataBinder.Eval(Container.DataItem, "ClassHot")%> <%#DataBinder.Eval(Container.DataItem, "ClassNew")%>">
                                <a href="<%#DataBinder.Eval(Container.DataItem, "Url")%>" class="screenshot" rel="<%#DataBinder.Eval(Container.DataItem, "ImagePath")%>">
                                </a>
                            </div>
                            <img src="<%#DataBinder.Eval(Container.DataItem, "ImagePath")%>" alt="phu kien ipad" />
                        </div>
                        <div class="product-description clear">
                            <div>
                                <span class="price">
                                    <%#DataBinder.Eval(Container.DataItem, "Price", "{0:n0}")%>
                                    VND</span>
                            </div>
                        </div>
                    </div>
                </li>
            </ItemTemplate>
            <FooterTemplate>
                </ul> </div> <a href="#" class="next">&nbsp;</a>
                <div class="clear">
                </div>
                </div>
            </FooterTemplate>
        </asp:Repeater>
    </div>--%>
    <table cellspacing="0" width="100%">
        <tr>
            <td>
                <asp:DataList ID="datDefault" runat="server" RepeatColumns="4" CellPadding="0" CellSpacing="0"
                    RepeatDirection="Horizontal" BorderColor="#DEE7EE" BorderWidth="1" BorderStyle="Solid"
                    ItemStyle-VerticalAlign="Top">
                    <HeaderTemplate>
                        <div class="product-header">
                            <img src='/Images/mainmenuhover.gif' alt="phu kien ipad" />
                            <div>
                                PHỤ KIỆN IPAD, IPHONE</div>
                        </div>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <div class="product-cell">
                            <div class="product-image">
                                <div class="overImg <%#DataBinder.Eval(Container.DataItem, "ClassHot")%> <%#DataBinder.Eval(Container.DataItem, "ClassNew")%>">
                                    <a href="<%#DataBinder.Eval(Container.DataItem, "Url")%>" class="screenshot" rel="<%#DataBinder.Eval(Container.DataItem, "ImagePath")%>">
                                    </a>
                                </div>
                                <img src="<%#DataBinder.Eval(Container.DataItem, "ImagePath")%>" alt="phu kien ipad" />
                            </div>
                            <div class="product-description clear">
                                <div class="description">
                                    <a href="<%#DataBinder.Eval(Container.DataItem, "Url")%>">
                                        <%#DataBinder.Eval(Container.DataItem, "ProductName")%></a></div>
                                <div>
                                    <span class="price">
                                        <%#DataBinder.Eval(Container.DataItem, "Price", "{0:n0}")%>
                                        VND</span>
                                </div>
                                <div style="margin-top: 5px;">
                                    <a href="<%#DataBinder.Eval(Container.DataItem, "CartUrl")%>" class="button">Mua hàng</a>
                                </div>
                            </div>
                        </div>
                    </ItemTemplate>
                    <FooterTemplate>
                    </FooterTemplate>
                </asp:DataList>
            </td>
        </tr>
    </table>
</asp:Content>
